package com.infore.siteManagement.repository.equipment;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.infore.siteManagement.entity.equipment.EquipmentModel;

@Repository
public interface IEquipModelRepository
		extends JpaRepository<EquipmentModel, String>, JpaSpecificationExecutor<EquipmentModel> {

	@Modifying
	@Transactional
	int deleteByIdIn(List<String> ids);

	List<EquipmentModel> findByIdIn(List<String> ids);
}
